package com.itheima.reggie.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data //getter与setter，无参构造器， toString
@NoArgsConstructor  //无参构造器
@AllArgsConstructor// 全参构造器
public class Page<T> implements Serializable {
    protected List<T> records;
    protected long total;
    protected long pages;
    protected long page;

}
